package com.villaday.idf.model2;

import java.util.List;

public class Districts {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : [{"code":"737014929!3569589400","name":"广东","parentCode":"737014929"},{"code":"737014929!4183742647","name":"陕西","parentCode":"737014929"},{"code":"737014929!2161277074","name":"广西","parentCode":"737014929"},{"code":"737014929!1714576081","name":"海南","parentCode":"737014929"},{"code":"737014929!698653665","name":"重庆","parentCode":"737014929"},{"code":"737014929!2983173883","name":"四川","parentCode":"737014929"},{"code":"737014929!2535767111","name":"贵州","parentCode":"737014929"},{"code":"737014929!754162921","name":"云南","parentCode":"737014929"},{"code":"737014929!1391818002","name":"西藏","parentCode":"737014929"},{"code":"737014929!3142352779","name":"湖南","parentCode":"737014929"},{"code":"737014929!1006922569","name":"甘肃","parentCode":"737014929"},{"code":"737014929!3750687143","name":"青海","parentCode":"737014929"},{"code":"737014929!1979461164","name":"宁夏","parentCode":"737014929"},{"code":"737014929!3179677882","name":"新疆","parentCode":"737014929"},{"code":"737014929!2025593130","name":"香港","parentCode":"737014929"},{"code":"737014929!2446447125","name":"澳门","parentCode":"737014929"},{"code":"737014929!1832805667","name":"台湾","parentCode":"737014929"},{"code":"737014929!3151681347","name":"江苏","parentCode":"737014929"},{"code":"737014929!3388331138","name":"天津","parentCode":"737014929"},{"code":"737014929!1114317015","name":"河北","parentCode":"737014929"},{"code":"737014929!1350386784","name":"山西","parentCode":"737014929"},{"code":"737014929!2327980941","name":"内蒙古","parentCode":"737014929"},{"code":"737014929!237512932","name":"辽宁","parentCode":"737014929"},{"code":"737014929!2598041682","name":"吉林","parentCode":"737014929"},{"code":"737014929!3695868744","name":"黑龙江","parentCode":"737014929"},{"code":"737014929!4288429437","name":"上海","parentCode":"737014929"},{"code":"737014929!3429596817","name":"北京","parentCode":"737014929"},{"code":"737014929!1504824648","name":"浙江","parentCode":"737014929"},{"code":"737014929!3367153048","name":"安徽","parentCode":"737014929"},{"code":"737014929!1936882024","name":"福建","parentCode":"737014929"},{"code":"737014929!2516905667","name":"江西","parentCode":"737014929"},{"code":"737014929!74227818","name":"山东","parentCode":"737014929"},{"code":"737014929!1534071190","name":"河南","parentCode":"737014929"},{"code":"737014929!2723630794","name":"湖北","parentCode":"737014929"}]
     */

    private String code;
    private String status;
    private String msg;
    private List<BodyEntity> body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<BodyEntity> getBody() {
        return body;
    }

    public void setBody(List<BodyEntity> body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * code : 737014929!3569589400
         * name : 广东
         * parentCode : 737014929
         */

        private String code;
        private String name;
        private String parentCode;

        private boolean isCheck;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getParentCode() {
            return parentCode;
        }

        public void setParentCode(String parentCode) {
            this.parentCode = parentCode;
        }
    }
}
